Skip to content

Conversation

@kakakakakku
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
Hi😀 Thanks for the useful patterns!

To prevent future deployment issues, I updated the deprecated Lambda Node.js runtime nodejs16.x to nodejs22.x.
See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

Check

sam deploy completed successfully and Testing Part 3 - notify via Lambda works good.

image image

Thank you😀


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Client:
Description: Client website for authentication redirects and cors (must start with https://)
Type: String
Default: https://myapp.com
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This sample domain was redirecting to another site, so I updated the URL for safety.

require('isomorphic-fetch');
const AUTH_TYPE = require('aws-appsync').AUTH_TYPE;
const AWSAppSyncClient = require('aws-appsync').default;
const { SignatureV4 } = require('@aws-sdk/signature-v4');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Updated code for AWS SDK v3 using Claude Sonnet 4.5 coding agent.

* Enter a GraphQLApiId
* Enter an OrdersEventBusName
* Enter an OrdersEventBusArn
* Allow SAM to create roles with the required permissions.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: Added missing step😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants